package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.Sound;

import java.util.List;

public interface SoundApi {

    void save(Sound sound);

    List<Sound> findByUserId(Long id);

    List<Sound> findAll();

    void clearSound();

    void updateState(Sound sound);

    List<Sound> findByState();
}
